package com.joinway.framework.admin.web.bean.form;

import java.util.List;

import org.jsondoc.core.annotation.ApiObject;
import org.jsondoc.core.annotation.ApiObjectField;

import com.joinway.framework.bean.domain.constant.SqlConstants;
import com.joinway.framework.bean.form.Form;

@ApiObject(name = "EasyUIDeleteItemForm", description = "删除easyui数据行")
public class EasyUIDeleteItemForm extends Form {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@ApiObjectField(description="主键名称，如userId，默认为id") 
	protected String idField = SqlConstants.Key.Id;
	
	@ApiObjectField(description="主键值") 
	protected List<String> idValues;
	
	@ApiObjectField(description="软删除字段名") 
	protected String softField;
	
	@ApiObjectField(description="软删除字段值，默认为N") 
	protected String softValue = "N";

	public String getIdField() {
		return idField;
	}

	public void setIdField(String idField) {
		this.idField = idField;
	}

	public List<String> getIdValues() {
		return idValues;
	}

	public void setIdValues(List<String> idValues) {
		this.idValues = idValues;
	}

	public String getSoftField() {
		return softField;
	}

	public void setSoftField(String softField) {
		this.softField = softField;
	}

	public String getSoftValue() {
		return softValue;
	}

	public void setSoftValue(String softValue) {
		this.softValue = softValue;
	}
}
